import service from "@/request/index";
//新增
export function addAddress(params:any){
    return service({
        url:"/addAddress",
        method:"get",
        params
    })
}

//查询
export function queryaddress(params:any){
    return service({
        url:"/queryaddress",
        method:"get",
        params
    })
}

//删除
export function delAddress(params:any){
    return service({
        url:"/delAddress",
        method:"get",
        params
    })
}



//修改
export function updataAddress(params:any){
    return service({
        url:"/updataAddress",
        method:"put",
        data: params
    })
}
